package org.example.kg_back.controller;


import org.example.kg_back.common.result.Result;
import org.example.kg_back.service.imp.CallsaturationService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Author Colonnello
 * @Gitee https://gitee.com/niuzhengchao
 * @Date 2021/3/15 9:12
 */

@RestController
@RequestMapping("/api/callSaturation")
public class CallSaturationController {

	@Autowired
	private CallsaturationService service;

	/**
	 * 获取各个扇区通话饱和度
	 * @return
	 */
	@GetMapping("/findCallSaturation")
	public Result<?> findCallSaturation(){
		return Result.success(service.findCallSaturation());
	}
}
